package com.marvels.financial.loan.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 上海资信数据上传dao
 * @author tangpw
 *
 */
public interface ShzxUploadDataDao {
	
	/**
	 * 还款数据
	 * @return
	 */
	public List<Map<String, Object>> paymentInfoList(@Param("shzxDataIntervalDays") int shzxDataIntervalDays, 
			@Param("yearMonth") String yearMonth, @Param("lastDay") String lastDay,
			@Param("offset") int offset, @Param("limit") int limit);
	
	
	
	/**
	 * 还款数据条数
	 * @param shzxDataIntervalDays
	 * @return
	 */
	public int paymentInfoListCount(@Param("shzxDataIntervalDays") int shzxDataIntervalDays, @Param("yearMonth") String yearMonth, @Param("lastDay") String lastDay);
	
	/**
	 * 通讯录列表
	 * @param shzxDataIntervalDays
	 * @return
	 */
	public List<Map<String, Object>> linkManList(@Param("userId") String userId, @Param("loanId") String loanId);
	
	/**
	 * 删除数据列表
	 * @param mobiles
	 * @return
	 */
	public List<Map<String, Object>> deleteDataList(@Param("mobiles") List<String> mobiles);
}
